package com.simple.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;

@Data
public class BillDTO {
    private Integer id;

    private Integer userId;
    private String username;
    //消费信息
    private String content;
    //消费类型
    private Integer billType;
    private Double money;
    private String costTime;
    private String createTime;
    private String updateTime;
    private String remark;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private Integer pageSize = 5;
    private Integer pageNum = 0;

}